// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   BusinessException.java

package com.hz.framework.util;


public class BusinessException extends Exception
{

	protected Throwable nestedException;
	private int exceptionCode;

	public BusinessException(String $msg)
	{
		super($msg);
		exceptionCode = 0;
	}

	public BusinessException(String $msg, int exceptionCode)
	{
		super($msg);
		this.exceptionCode = 0;
		this.exceptionCode = exceptionCode;
	}

	public BusinessException(Throwable cause)
	{
		super(cause);
		exceptionCode = 0;
	}

	public BusinessException(String $msg, Throwable $ex)
	{
		super($msg, $ex);
		exceptionCode = 0;
		nestedException = $ex;
	}

	public Throwable getNestedException()
	{
		return nestedException;
	}

	public int getExceptionCode()
	{
		return exceptionCode;
	}
}
